package com.nbsaas.sample.topic.api.domain.request;

import com.nbsaas.boot.rest.filter.Operator;
import com.nbsaas.boot.rest.filter.Search;
import com.nbsaas.boot.rest.request.PageRequest;
import lombok.*;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
* 搜索bean
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TopicSearchRequest   extends PageRequest implements Serializable {

    /**
    * 序列化参数
    */
    private static final long serialVersionUID = 1L;

            //发布人
            @Search(name = "creator.name",operator = Operator.like)
            private String creatorName;


                //
               @Search(name = "address",operator = Operator.like)
                private String address;
                //
               @Search(name = "viewNum",operator = Operator.eq)
                private Long viewNum;
                //
               @Search(name = "title",operator = Operator.like)
                private String title;
                //
               @Search(name = "qrCode",operator = Operator.like)
                private String qrCode;
                //
               @Search(name = "joinNum",operator = Operator.eq)
                private Long joinNum;
                //
               @Search(name = "id",operator = Operator.eq)
                private Long id;
                //
               @Search(name = "content",operator = Operator.like)
                private String content;
                //
               @Search(name = "sex",operator = Operator.like)
                private String sex;
                //
               @Search(name = "note",operator = Operator.like)
                private String note;
                //
               @Search(name = "amount",operator = Operator.eq)
                private Integer amount;


}